package top.yuyufeng.mbuy.entity;

import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Data
@Table(name = "mb_pay_info")
public class PayInfo {
    @Id
    private Integer id;

    @Column(name = "user_id")
    private Integer userId;

    @Column(name = "order_no")
    private Long orderNo;

    /**
     * 支付平台 1-支付宝，2-微信
     */
    @Column(name = "pay_platform")
    private Integer payPlatform;

    /**
     * 支付流水账号
     */
    @Column(name = "platform_number")
    private String platformNumber;

    /**
     * 支付状态
     */
    @Column(name = "platform_status")
    private String platformStatus;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "update_time")
    private Date updateTime;


}